package bookExercise;

public class A12ArraysConsDemo {
    public static void main(String[] args) {
        A12ArraysConsInterface<A12ArraysConsDemo[]> a1=A12ArraysConsDemo[]::new;
        A12ArraysConsDemo array[] = a1.action(3);
        array[0]=new A12ArraysConsDemo();
        array[1]=new A12ArraysConsDemo();
        array[2]=new A12ArraysConsDemo();
        //array[3]=new A12ArraysConsDemo();//报错
    }
}
